<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<html>
<head>

<%
   String adid = request.getParameter("adid");
%>

<script>

function adClicked()
{
	var uri="download://"+<%= adid %>;
    window.location=uri;
    return ;
}
</script>
</head>
<body style="background-color: #A7C0DC;">
<h5>adID:<%= adid %></h5>
<a onclick="adClicked()" href="itms-services:///?action=download-manifest&url=https://www.ieggs.info/ztadsdk.plist">点击测试下载接口1</a>
<br><br>
<a onclick="adClicked()" href="http://118.194.49.47/timeline/download2.html">点击测试下载接口2</a>

<br><br>
<a onclick="adClicked()" href="https://itunes.apple.com/br/app/mole/id735918633?mt=8">点击测试下载接口3</a>
</body>
</html>